<script setup>
    defineProps(['title'])
    defineEmits(['enlarge-text'])
</script>

<template>
  <div class="blog-post">
    <h4>{{ title }}</h4>
    <button @click="$emit('add-fontsize')">Enlarge text</button>
    <button @click="$emit('enlarge-text')">enlarge-text</button>
  </div>
</template>